import React, { FC } from "react";
import { Alert } from "antd";


interface GlobalErrProps {
    errContent: string
}

const GlobalErr: FC<GlobalErrProps> = (props) => {

    return (<div style={{ padding: 10 }}>
        <Alert
            message={props.errContent}
            type="error"
        />
    </div>);
};

export {
    GlobalErr
};